package com.hotel.app.controller;


import com.hotel.app.service.UserCashbackFeign;
import com.hotel.common.vo.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * @desc:
 * @author: ZHY
 * @date: 2024/6/18,17:35
 */
@RequestMapping("api/user/wallet")
@RestController
public class UserCashbackController {

    @Autowired
    private UserCashbackFeign userCashbackFeign;
    /**
     * 返现总额展示
     */
    @RequestMapping("/cashBack")
    public R showCashBack() {
        return userCashbackFeign.showCashBack();
    }



}
